import babel from '@rollup/plugin-babel'

export default {
  input: "src/index.js",
  output: {
    file: "dist/index.js",
    format: "umd",//用cdn，需要挂载到全局，需要改成iife,立即函数
  },
  plugins: [babel()]
}
